module.exports = {
  devServer: {
    // port: 8001,
    proxy: {
      '/api': {
        target: 'http://localhost:8082/api',
        ws: true, // 是否跨域
        pathRewrite: {
          '^/api': '',
        },
      },
    },
  },
};
